package cn.gok.oop;

class Person{
    int age;
    String sex;
    String name;
    String school;
    public void show(){
        System.out.println(age+"  "+sex+"  "+name+"  "+school);
    }
}

public class 类的练习 {
    public static void main(String[] args) {
        Person person = new Person();
        person.age=18;
        person.sex="男";
        person.name="牛马";
        person.school="泉州职业技术大学";
        person.show();
    }

}
